projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e545676
)
object-tree: Allow inspecting inspectors
author
Benjamin Otte
<otte@redhat.com>
Tue, 21 Jun 2022 00:32:33 +0000
(
02:32
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 21 Jun 2022 00:35:02 +0000
(
02:35
+0200)
We filter by display, so the inspector window should show up only when
inspecting the inspector.
gtk/inspector/object-tree.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/object-tree.c
b/gtk/inspector/object-tree.c
index 34a740668351dec59aba85c7ef65d20410be9e38..1c5f0229254add32b28c4402b6dc9a9e0d78cc30 100644
(file)
--- a/
gtk/inspector/object-tree.c
+++ b/
gtk/inspector/object-tree.c
@@
-1136,9
+1136,6
@@
toplevel_filter_func (gpointer item,
if (!GTK_IS_WINDOW (item))
return FALSE;
- if (g_str_equal (G_OBJECT_TYPE_NAME (item), "GtkInspectorWindow"))
- return FALSE;
-
return gtk_widget_get_display (item) == display;
}